package cn.itcast.service;

import cn.itcast.pojo.Result;
import cn.itcast.pojo.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface StudentService extends IService<Student> {
    Result search(String name, Integer degree, Integer clazzId, Integer page, Integer pageSize);

    Result deleteByIdsStudent(List<Integer> ids);

    Result insertStudent(Student student);

    Result selectById(Integer id);

    Result updateStudent(Student student);

    Result violation(Integer id, Integer score);
}
